<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Flow-IPC: ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Flow-IPC<span id="projectnumber">&#160;1.0.2</span>
   </div>
   <div id="projectbrief">Flow-IPC project: Full implementation reference.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceipc.html">ipc</a></li><li class="navelem"><a class="el" href="namespaceipc_1_1transport.html">transport</a></li><li class="navelem"><a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html">asio_local_stream_socket</a></li><li class="navelem"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html">Opt_peer_process_credentials</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Gettable (read-only) socket option for use with <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a1788f9dbd896bb71b3693f9ae25b40ae" title="Short-hand for boost.asio Unix domain peer stream-socket (usually-connected-or-empty guy).">asio_local_stream_socket::Peer_socket</a> <code>.get_option()</code> in order to get the connected opposing peer process's credentials (PID/UID/GID/etc.).  
 <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials__inherit__graph.svg" width="204" height="143"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials__coll__graph.svg" width="204" height="228"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a09c70548774b3e063500a04d4f72d803"><td class="memItemLeft" align="right" valign="top"><a id="a09c70548774b3e063500a04d4f72d803" name="a09c70548774b3e063500a04d4f72d803"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Opt_peer_process_credentials</b> ()</td></tr>
<tr class="memdesc:a09c70548774b3e063500a04d4f72d803"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default ctor: each value is initialized to zero or equivalent. <br /></td></tr>
<tr class="separator:a09c70548774b3e063500a04d4f72d803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ef81666e906cc497f273c7a1ef908bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a2ef81666e906cc497f273c7a1ef908bf">Opt_peer_process_credentials</a> (const <a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html">Opt_peer_process_credentials</a> &amp;src)</td></tr>
<tr class="memdesc:a2ef81666e906cc497f273c7a1ef908bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boring copy ctor.  <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a2ef81666e906cc497f273c7a1ef908bf">More...</a><br /></td></tr>
<tr class="separator:a2ef81666e906cc497f273c7a1ef908bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e8dd6f2ba88ceef69391578a6dcf45c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html">Opt_peer_process_credentials</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a0e8dd6f2ba88ceef69391578a6dcf45c">operator=</a> (const <a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html">Opt_peer_process_credentials</a> &amp;src)</td></tr>
<tr class="memdesc:a0e8dd6f2ba88ceef69391578a6dcf45c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boring copy assignment.  <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a0e8dd6f2ba88ceef69391578a6dcf45c">More...</a><br /></td></tr>
<tr class="separator:a0e8dd6f2ba88ceef69391578a6dcf45c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a924f4e35c39d777be317cd83899ebb"><td class="memTemplParams" colspan="2">template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </td></tr>
<tr class="memitem:a1a924f4e35c39d777be317cd83899ebb"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a1a924f4e35c39d777be317cd83899ebb">level</a> (const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;proto) const</td></tr>
<tr class="memdesc:a1a924f4e35c39d777be317cd83899ebb"><td class="mdescLeft">&#160;</td><td class="mdescRight">For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work.  <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a1a924f4e35c39d777be317cd83899ebb">More...</a><br /></td></tr>
<tr class="separator:a1a924f4e35c39d777be317cd83899ebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74f99c14f0266ef157ea8463a10aec00"><td class="memTemplParams" colspan="2">template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </td></tr>
<tr class="memitem:a74f99c14f0266ef157ea8463a10aec00"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a74f99c14f0266ef157ea8463a10aec00">name</a> (const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;proto) const</td></tr>
<tr class="memdesc:a74f99c14f0266ef157ea8463a10aec00"><td class="mdescLeft">&#160;</td><td class="mdescRight">For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work.  <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a74f99c14f0266ef157ea8463a10aec00">More...</a><br /></td></tr>
<tr class="separator:a74f99c14f0266ef157ea8463a10aec00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ab23b12c2968614bffc9805f1d83bc"><td class="memTemplParams" colspan="2">template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </td></tr>
<tr class="memitem:a64ab23b12c2968614bffc9805f1d83bc"><td class="memTemplItemLeft" align="right" valign="top">void *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a64ab23b12c2968614bffc9805f1d83bc">data</a> (const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;proto)</td></tr>
<tr class="memdesc:a64ab23b12c2968614bffc9805f1d83bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work.  <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a64ab23b12c2968614bffc9805f1d83bc">More...</a><br /></td></tr>
<tr class="separator:a64ab23b12c2968614bffc9805f1d83bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03e9d87913c538017771a7fb41608317"><td class="memTemplParams" colspan="2">template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </td></tr>
<tr class="memitem:a03e9d87913c538017771a7fb41608317"><td class="memTemplItemLeft" align="right" valign="top">size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a03e9d87913c538017771a7fb41608317">size</a> (const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;proto) const</td></tr>
<tr class="memdesc:a03e9d87913c538017771a7fb41608317"><td class="mdescLeft">&#160;</td><td class="mdescRight">For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work.  <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a03e9d87913c538017771a7fb41608317">More...</a><br /></td></tr>
<tr class="separator:a03e9d87913c538017771a7fb41608317"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba66a960ea9efda481692f64cdf22466"><td class="memTemplParams" colspan="2">template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </td></tr>
<tr class="memitem:aba66a960ea9efda481692f64cdf22466"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#aba66a960ea9efda481692f64cdf22466">resize</a> (const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;proto, size_t new_size_but_really_must_equal_current) const</td></tr>
<tr class="memdesc:aba66a960ea9efda481692f64cdf22466"><td class="mdescLeft">&#160;</td><td class="mdescRight">For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work.  <a href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#aba66a960ea9efda481692f64cdf22466">More...</a><br /></td></tr>
<tr class="separator:aba66a960ea9efda481692f64cdf22466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classipc_1_1util_1_1Process__credentials"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classipc_1_1util_1_1Process__credentials')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classipc_1_1util_1_1Process__credentials.html">ipc::util::Process_credentials</a></td></tr>
<tr class="memitem:a3840b767894abdd17cf9a7b5b2dfbf3c inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a3840b767894abdd17cf9a7b5b2dfbf3c">Process_credentials</a> ()</td></tr>
<tr class="memdesc:a3840b767894abdd17cf9a7b5b2dfbf3c inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default ctor: each value is initialized to zero or equivalent.  <a href="classipc_1_1util_1_1Process__credentials.html#a3840b767894abdd17cf9a7b5b2dfbf3c">More...</a><br /></td></tr>
<tr class="separator:a3840b767894abdd17cf9a7b5b2dfbf3c inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7794dc1a6d963cdd10928fb69008df14 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a7794dc1a6d963cdd10928fb69008df14">Process_credentials</a> (<a class="el" href="namespaceipc_1_1util.html#a0c44028a45451ebf21f6af8e806b2682">process_id_t</a> process_id_init, <a class="el" href="namespaceipc_1_1util.html#a6435c1b48ec8684c24ca406d1d17208e">user_id_t</a> user_id_init, <a class="el" href="namespaceipc_1_1util.html#a3f7d069ce0d23f73153da2e2559dc3d3">group_id_t</a> group_id_init)</td></tr>
<tr class="memdesc:a7794dc1a6d963cdd10928fb69008df14 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ctor that sets the values explicitly.  <a href="classipc_1_1util_1_1Process__credentials.html#a7794dc1a6d963cdd10928fb69008df14">More...</a><br /></td></tr>
<tr class="separator:a7794dc1a6d963cdd10928fb69008df14 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c7e32527927afdf2d7b46e2aa9a82b6 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a3c7e32527927afdf2d7b46e2aa9a82b6">Process_credentials</a> (const <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;src)</td></tr>
<tr class="memdesc:a3c7e32527927afdf2d7b46e2aa9a82b6 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boring copy ctor.  <a href="classipc_1_1util_1_1Process__credentials.html#a3c7e32527927afdf2d7b46e2aa9a82b6">More...</a><br /></td></tr>
<tr class="separator:a3c7e32527927afdf2d7b46e2aa9a82b6 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f507637515a11b2f7e50959a8a39ce2 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a8f507637515a11b2f7e50959a8a39ce2">operator=</a> (const <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;src)</td></tr>
<tr class="memdesc:a8f507637515a11b2f7e50959a8a39ce2 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boring copy assignment.  <a href="classipc_1_1util_1_1Process__credentials.html#a8f507637515a11b2f7e50959a8a39ce2">More...</a><br /></td></tr>
<tr class="separator:a8f507637515a11b2f7e50959a8a39ce2 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a181288d97adcadedf187d08c71045854 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceipc_1_1util.html#a0c44028a45451ebf21f6af8e806b2682">process_id_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a181288d97adcadedf187d08c71045854">process_id</a> () const</td></tr>
<tr class="memdesc:a181288d97adcadedf187d08c71045854 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">The process ID (PID).  <a href="classipc_1_1util_1_1Process__credentials.html#a181288d97adcadedf187d08c71045854">More...</a><br /></td></tr>
<tr class="separator:a181288d97adcadedf187d08c71045854 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1fb8e7a5663735405ca0c0bc29163c5 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceipc_1_1util.html#a6435c1b48ec8684c24ca406d1d17208e">user_id_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#ac1fb8e7a5663735405ca0c0bc29163c5">user_id</a> () const</td></tr>
<tr class="memdesc:ac1fb8e7a5663735405ca0c0bc29163c5 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">The user ID (UID).  <a href="classipc_1_1util_1_1Process__credentials.html#ac1fb8e7a5663735405ca0c0bc29163c5">More...</a><br /></td></tr>
<tr class="separator:ac1fb8e7a5663735405ca0c0bc29163c5 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae54faa2974b966d31678fd51b7200514 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceipc_1_1util.html#a3f7d069ce0d23f73153da2e2559dc3d3">group_id_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#ae54faa2974b966d31678fd51b7200514">group_id</a> () const</td></tr>
<tr class="memdesc:ae54faa2974b966d31678fd51b7200514 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">The group user ID (GID).  <a href="classipc_1_1util_1_1Process__credentials.html#ae54faa2974b966d31678fd51b7200514">More...</a><br /></td></tr>
<tr class="separator:ae54faa2974b966d31678fd51b7200514 inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4f156cfdfe0c8c5702890e5c1a37cdf inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#ae4f156cfdfe0c8c5702890e5c1a37cdf">process_invoked_as</a> (<a class="el" href="namespaceipc.html#aa3192e586cc45d3e7c22463bf2760f89">Error_code</a> *err_code=0) const</td></tr>
<tr class="memdesc:ae4f156cfdfe0c8c5702890e5c1a37cdf inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains, from the OS, information as to the binary name via which process <a class="el" href="classipc_1_1util_1_1Process__credentials.html#a181288d97adcadedf187d08c71045854" title="The process ID (PID).">process_id()</a> was started, per its command line, namely <code>argv[0]</code>.  <a href="classipc_1_1util_1_1Process__credentials.html#ae4f156cfdfe0c8c5702890e5c1a37cdf">More...</a><br /></td></tr>
<tr class="separator:ae4f156cfdfe0c8c5702890e5c1a37cdf inherit pub_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classipc_1_1util_1_1Process__credentials"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classipc_1_1util_1_1Process__credentials')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classipc_1_1util_1_1Process__credentials.html">ipc::util::Process_credentials</a></td></tr>
<tr class="memitem:a18c901aeeed11c91afcc6379260f02a5 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceipc_1_1util.html#a0c44028a45451ebf21f6af8e806b2682">process_id_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a18c901aeeed11c91afcc6379260f02a5">own_process_id</a> ()</td></tr>
<tr class="memdesc:a18c901aeeed11c91afcc6379260f02a5 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the calling process's <a class="el" href="classipc_1_1util_1_1Process__credentials.html#a181288d97adcadedf187d08c71045854" title="The process ID (PID).">process_id()</a>.  <a href="classipc_1_1util_1_1Process__credentials.html#a18c901aeeed11c91afcc6379260f02a5">More...</a><br /></td></tr>
<tr class="separator:a18c901aeeed11c91afcc6379260f02a5 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a14d2788f0aaf91042206d5f6e5cabd inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceipc_1_1util.html#a6435c1b48ec8684c24ca406d1d17208e">user_id_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a9a14d2788f0aaf91042206d5f6e5cabd">own_user_id</a> ()</td></tr>
<tr class="memdesc:a9a14d2788f0aaf91042206d5f6e5cabd inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the calling process's effective <a class="el" href="classipc_1_1util_1_1Process__credentials.html#ac1fb8e7a5663735405ca0c0bc29163c5" title="The user ID (UID).">user_id()</a>.  <a href="classipc_1_1util_1_1Process__credentials.html#a9a14d2788f0aaf91042206d5f6e5cabd">More...</a><br /></td></tr>
<tr class="separator:a9a14d2788f0aaf91042206d5f6e5cabd inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c4074f11192a1193afb019d04753cd2 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceipc_1_1util.html#a3f7d069ce0d23f73153da2e2559dc3d3">group_id_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a9c4074f11192a1193afb019d04753cd2">own_group_id</a> ()</td></tr>
<tr class="memdesc:a9c4074f11192a1193afb019d04753cd2 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains the calling process's effective <a class="el" href="classipc_1_1util_1_1Process__credentials.html#ae54faa2974b966d31678fd51b7200514" title="The group user ID (GID).">group_id()</a>.  <a href="classipc_1_1util_1_1Process__credentials.html#a9c4074f11192a1193afb019d04753cd2">More...</a><br /></td></tr>
<tr class="separator:a9c4074f11192a1193afb019d04753cd2 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a573d6de2f257144562fd55e0772991f1 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a573d6de2f257144562fd55e0772991f1">own_process_credentials</a> ()</td></tr>
<tr class="memdesc:a573d6de2f257144562fd55e0772991f1 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs and returns <a class="el" href="classipc_1_1util_1_1Process__credentials.html" title="A process&#39;s credentials (PID, UID, GID as of this writing).">Process_credentials</a> containing values pertaining to the calling process at this time.  <a href="classipc_1_1util_1_1Process__credentials.html#a573d6de2f257144562fd55e0772991f1">More...</a><br /></td></tr>
<tr class="separator:a573d6de2f257144562fd55e0772991f1 inherit pub_static_methods_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header related_classipc_1_1util_1_1Process__credentials"><td colspan="2" onclick="javascript:toggleInherit('related_classipc_1_1util_1_1Process__credentials')"><img src="closed.png" alt="-"/>&#160;Related Functions inherited from <a class="el" href="classipc_1_1util_1_1Process__credentials.html">ipc::util::Process_credentials</a></td></tr>
<tr class="memitem:a4ccdab04a79159f82d7ade8136a2eeb2 inherit related_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a4ccdab04a79159f82d7ade8136a2eeb2">operator==</a> (const <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;val1, const <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;val2)</td></tr>
<tr class="memdesc:a4ccdab04a79159f82d7ade8136a2eeb2 inherit related_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks for by-value equality between two <a class="el" href="classipc_1_1util_1_1Process__credentials.html" title="A process&#39;s credentials (PID, UID, GID as of this writing).">Process_credentials</a> objects.  <a href="classipc_1_1util_1_1Process__credentials.html#a4ccdab04a79159f82d7ade8136a2eeb2">More...</a><br /></td></tr>
<tr class="separator:a4ccdab04a79159f82d7ade8136a2eeb2 inherit related_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf94b5903f4e0aa2f2699867dd8971ef inherit related_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#aaf94b5903f4e0aa2f2699867dd8971ef">operator!=</a> (const <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;val1, const <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;val2)</td></tr>
<tr class="memdesc:aaf94b5903f4e0aa2f2699867dd8971ef inherit related_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks for by-value inequality between two <a class="el" href="classipc_1_1util_1_1Process__credentials.html" title="A process&#39;s credentials (PID, UID, GID as of this writing).">Process_credentials</a> objects.  <a href="classipc_1_1util_1_1Process__credentials.html#aaf94b5903f4e0aa2f2699867dd8971ef">More...</a><br /></td></tr>
<tr class="separator:aaf94b5903f4e0aa2f2699867dd8971ef inherit related_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9da92514406dc1fc61f5a561c9b5aee9 inherit related_classipc_1_1util_1_1Process__credentials"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classipc_1_1util_1_1Process__credentials.html#a9da92514406dc1fc61f5a561c9b5aee9">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classipc_1_1util_1_1Process__credentials.html">Process_credentials</a> &amp;val)</td></tr>
<tr class="memdesc:a9da92514406dc1fc61f5a561c9b5aee9 inherit related_classipc_1_1util_1_1Process__credentials"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints string representation of the given <a class="el" href="classipc_1_1util_1_1Process__credentials.html" title="A process&#39;s credentials (PID, UID, GID as of this writing).">util::Process_credentials</a> to the given <code>ostream</code>.  <a href="classipc_1_1util_1_1Process__credentials.html#a9da92514406dc1fc61f5a561c9b5aee9">More...</a><br /></td></tr>
<tr class="separator:a9da92514406dc1fc61f5a561c9b5aee9 inherit related_classipc_1_1util_1_1Process__credentials"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Gettable (read-only) socket option for use with <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a1788f9dbd896bb71b3693f9ae25b40ae" title="Short-hand for boost.asio Unix domain peer stream-socket (usually-connected-or-empty guy).">asio_local_stream_socket::Peer_socket</a> <code>.get_option()</code> in order to get the connected opposing peer process's credentials (PID/UID/GID/etc.). </p>
<p >Note accessors and data are in non-polymorphic base <a class="el" href="classipc_1_1util_1_1Process__credentials.html" title="A process&#39;s credentials (PID, UID, GID as of this writing).">util::Process_credentials</a>.</p>
<p >If one calls <code>X.get_option(Opt_peer_process_credentials&amp; o)</code> on <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a1788f9dbd896bb71b3693f9ae25b40ae" title="Short-hand for boost.asio Unix domain peer stream-socket (usually-connected-or-empty guy).">Peer_socket</a> <code>X</code>, and <code>X</code> is connected to opposing peer socket in process P, then <code>o.*()</code> credential accessors (such as <code>o.process_id()</code>) shall return values that were accurate about process P, at the time P executed <code>Peer_socket::connect()</code> or <code>local_ns::connect_pair()</code> yielding the connection to "local" peer <code>X</code>.</p>
<dl class="section see"><dt>See also</dt><dd>boost.asio docs: <code>GettableSocketOption</code> in boost.asio docs: implemented concept.</dd></dl>
<p >This is the Linux <code>getsockopt()</code> option with level <code>AF_LOCAL</code> (a/k/a <code>AF_UNIX</code>), name <code>SO_PEERCRED</code>. </p>

<p class="definition">Definition at line <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00052">52</a> of file <a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a2ef81666e906cc497f273c7a1ef908bf" name="a2ef81666e906cc497f273c7a1ef908bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ef81666e906cc497f273c7a1ef908bf">&#9670;&nbsp;</a></span>Opt_peer_process_credentials()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials::Opt_peer_process_credentials </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html">Opt_peer_process_credentials</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Boring copy ctor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Source object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a64ab23b12c2968614bffc9805f1d83bc" name="a64ab23b12c2968614bffc9805f1d83bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64ab23b12c2968614bffc9805f1d83bc">&#9670;&nbsp;</a></span>data()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void * ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials::data </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;&#160;</td>
          <td class="paramname"><em>proto</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work. </p>
<dl class="section see"><dt>See also</dt><dd>boost.asio docs: <code>GettableSocketOption::data()</code> in boost.asio docs: implemented concept.</dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Protocol</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See concept API.</dd></dl>
<p >It's <code>SO_PEERCRED</code>. </p>

<p class="definition">Definition at line <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00317">317</a> of file <a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a>.</p>

</div>
</div>
<a id="a1a924f4e35c39d777be317cd83899ebb" name="a1a924f4e35c39d777be317cd83899ebb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a924f4e35c39d777be317cd83899ebb">&#9670;&nbsp;</a></span>level()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials::level </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;&#160;</td>
          <td class="paramname"><em>proto</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work. </p>
<dl class="section see"><dt>See also</dt><dd>boost.asio docs: <code>GettableSocketOption::level()</code> in boost.asio docs: implemented concept.</dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Protocol</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See concept API.</dd></dl>
<p >It's <code>AF_LOCAL</code> a/k/a <code>AF_UNIX</code>. </p>

<p class="definition">Definition at line <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00305">305</a> of file <a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a>.</p>

</div>
</div>
<a id="a74f99c14f0266ef157ea8463a10aec00" name="a74f99c14f0266ef157ea8463a10aec00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74f99c14f0266ef157ea8463a10aec00">&#9670;&nbsp;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials::name </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;&#160;</td>
          <td class="paramname"><em>proto</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work. </p>
<dl class="section see"><dt>See also</dt><dd>boost.asio docs: <code>GettableSocketOption::name()</code> in boost.asio docs: implemented concept.</dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Protocol</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See concept API.</dd></dl>
<p >It's <code>SO_PEERCRED</code>. </p>

<p class="definition">Definition at line <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00311">311</a> of file <a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a>.</p>

</div>
</div>
<a id="a0e8dd6f2ba88ceef69391578a6dcf45c" name="a0e8dd6f2ba88ceef69391578a6dcf45c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e8dd6f2ba88ceef69391578a6dcf45c">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html">Opt_peer_process_credentials</a> &amp; ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html">Opt_peer_process_credentials</a> &amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Boring copy assignment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Source object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>*this</code>. </dd></dl>

</div>
</div>
<a id="aba66a960ea9efda481692f64cdf22466" name="aba66a960ea9efda481692f64cdf22466"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba66a960ea9efda481692f64cdf22466">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials::resize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;&#160;</td>
          <td class="paramname"><em>proto</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>new_size_but_really_must_equal_current</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work. </p>
<dl class="section see"><dt>See also</dt><dd>boost.asio docs: <code>GettableSocketOption::resize()</code> in boost.asio docs: implemented concept.</dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Protocol</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>See concept API. </td></tr>
    <tr><td class="paramname">new_size_but_really_must_equal_current</td><td>See concept API.</td></tr>
  </table>
  </dd>
</dl>
<p >Resizing is not allowed for this option, so really it's either a no-op, or &ndash; if <code>new_size_but_really_must_equal_current != <a class="el" href="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials.html#a03e9d87913c538017771a7fb41608317" title="For internal boost.asio use, to enable Peer_socket::get_option(Opt_peer_process_credentials&amp;) to work...">size()</a></code> &ndash; throws exception. </p>

<p class="definition">Definition at line <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00329">329</a> of file <a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a>.</p>

<p class="reference">References <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00323">size()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials_aba66a960ea9efda481692f64cdf22466_cgraph.svg" width="475" height="71"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>

</div>
</div>
<a id="a03e9d87913c538017771a7fb41608317" name="a03e9d87913c538017771a7fb41608317"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03e9d87913c538017771a7fb41608317">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">size_t ipc::transport::asio_local_stream_socket::Opt_peer_process_credentials::size </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceipc_1_1transport_1_1asio__local__stream__socket.html#a0ad6afc0bbf995a5b84528f96315f4a2">Protocol</a> &amp;&#160;</td>
          <td class="paramname"><em>proto</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For internal boost.asio use, to enable <code>Peer_socket::get_option(Opt_peer_process_credentials&amp;)</code> to work. </p>
<dl class="section see"><dt>See also</dt><dd>boost.asio docs: <code>GettableSocketOption::size()</code> in boost.asio docs: implemented concept.</dd></dl>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">Protocol</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">proto</td><td>See concept API. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See concept API.</dd></dl>
<p >It's <code>sizeof(ucred)</code>. </p>

<p class="definition">Definition at line <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00323">323</a> of file <a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="asio__local__stream__socket_8hpp_source.html#l00329">resize()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classipc_1_1transport_1_1asio__local__stream__socket_1_1Opt__peer__process__credentials_a03e9d87913c538017771a7fb41608317_icgraph.svg" width="475" height="71"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>transport/<a class="el" href="asio__local__stream__socket_8hpp_source.html">asio_local_stream_socket.hpp</a></li>
<li>transport/<a class="el" href="asio__local__stream__socket_8cpp_source.html">asio_local_stream_socket.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu May 2 2024 23:56:39 for Flow-IPC by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
